﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml;
using System.Runtime.Serialization;

namespace tscsclassgen
{
    [DataContract]
    public class TypeNamePair
    {
        [DataMember]
        public string TypeScriptName;
        [DataMember]
        public string CSharpName;
        public TypeNamePair()
        {
        }
        public TypeNamePair(string TypeScriptName, string CSharpName)
        {
            this.CSharpName = CSharpName;
            this.TypeScriptName = TypeScriptName;
        }
    }

    static class PredefinedTypes
    {
        public static TypeNamePair[] Names = 
        {
            new TypeNamePair("Object","object"),
            new TypeNamePair("any","dynamic"),
            new TypeNamePair("number","double"),
            new TypeNamePair("string","string"),
        };
    }
}
